home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 638 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.7 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Re: Problem with memory allocation in BC 4.5
  5. Date: Fri, 05 Jan 96 12:55:10 GMT
  6. Organization: none
  7. Message-ID: <820846510snz@genesis.demon.co.uk>
  8. References: <4bqdn4$jjm@cloner2.ix.netcom.com> <26DEC199522264203@erich.triumf.ca> <4brp36$dd4@cloner2.ix.netcom.com> <820188116snz@genesis.demon.co.uk> <4cifc7$ii5@news.worldlinx.com>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <4cifc7$ii5@news.worldlinx.com>
  15.            stupy@freenet.durham.org "Steve Tupy" writes:
  16.  
  17. >Lawrence Kirby (fred@genesis.demon.co.uk) wrote:
  18. >: In article <4brp36$dd4@cloner2.ix.netcom.com>
  19. >:            joao_raf@ix.netcom.com(Joao "Joao Rafael Moraes Nicola " writes:
  20. >
  21. >: Whether that is true or not it is always sensible to use the conceptually
  22. >: related functions. This can avoid problems and confusion later on.
  23. >
  24. >        Except when you are in a larger model, all calls to free are
  25. >automatically setup as far.
  26.  
  27. Probably true, however that doesn't make any difference to my comment which
  28. applies to all 'memory models' (and environments in general). You should
  29. always use conceptually repated fuctions, even when not *strictly* necessary.
  30. You may way to change memory model, port to a different compiler/platform
  31. later on. It costs you nothing now to make that process easier.
  32.  
  33. -- 
  34. -----------------------------------------
  35. Lawrence Kirby | fred@genesis.demon.co.uk
  36. Wilts, England | 70734.126@compuserve.com
  37. -----------------------------------------
  38.